package org.keyyond.ms.scheduler.service;

import org.keyyond.ms.scheduler.service.impl.MsSapDataServiceSapServiceFallback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 
 * @author baofanfan
 * @since 2018-10-23
 * @category 调用sap服务
 */
@FeignClient(name="keyyond-ms-sap",fallback=MsSapDataServiceSapServiceFallback.class)
public interface MsSapDataService {
	/**
	 * 调用sap服务(获得读取excel并调用esb)
	 * 
	 */
	@RequestMapping(value="/job/sendDataToDCP", method = RequestMethod.POST)
	public String sendDataToDCP();
}
